package com.pipe.commonutils;

import lombok.Getter;

/**
 * @enumName RabbitConst
 * @Author HETAO
 * @Date 2020/7/19 11:29
 */
@Getter
public enum QueueEnum {
    QUEUE_ENUM("pipe.login.direct","pipe.login.sms","pipe.login.sms");
    /**
     * 交换机
     */
    private String exchange;

    /**
     * 队列名称
     */
    private String name;

    /**
     * 路由键
     */
    private String routeKey;

    QueueEnum(String exchange, String name, String routeKey) {
        this.exchange = exchange;
        this.name = name;
        this.routeKey = routeKey;
    }
}
